package com.nuoniu.sibanyun.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 账套模块设置
 * </p>
 *
 * @author baiqiang
 * @since 2020-09-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("fab_account_module")
@ApiModel(value="ErpAccountModule对象", description="账套模块设置")
public class ErpAccountModule extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账套id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "公司id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "系统模块Id")
    @TableField("module_id")
    private Integer moduleId;

    @ApiModelProperty(value = "启用会计年份")
    @TableField("enable_account_year")
    private Integer enableAccountYear;

    @ApiModelProperty(value = "启用会计月份")
    @TableField("enable_account_month")
    private Integer enableAccountMonth;

    @ApiModelProperty(value = "启用日期")
    @TableField("enable_date")
    private LocalDateTime enableDate;

    @ApiModelProperty(value = "状态 （0：关闭 1：开启）")
    @TableField("status")
    private Boolean status;

    @ApiModelProperty(value = "启用人ID")
    @TableField("enable_user_id")
    private Integer enableUserId;

    @ApiModelProperty(value = "是否锁定 （0：否 1：是）")
    @TableField("is_locked")
    private Boolean isLocked;


}
